<!-- comment: (body matches /rss.php version 221 & up) -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
	<title>{RSS_SITENAME}</title>
	<link>{XML_SITE}</link>
	<atom:link href="{ATOM_LINK}" rel="self" type="application/rss+xml"/>
	<managingEditor>{MANAGING_EDITOR}</managingEditor>
	<description>{RSS_DESCRIPTION}</description>
	<language>{RSS_LANGUAGE}</language>
	<ttl>{RSS_TTL}</ttl>

<!-- IF RSS_SEARCH -->
	<!-- IF S_SHOW_TOPICS -->
	<!-- comment: RSS XML for Topics starts -->
		<!-- BEGIN searchresults -->
			<item>
				<title>{L_SEARCH_TOPIC} {searchresults.TOPIC_TITLE}</title>
				<link>{searchresults.U_VIEW_TOPIC}</link>
				<pubDate>{searchresults.PUNDATE}</pubDate>
				<guid>{searchresults.U_VIEW_TOPIC}</guid>
				<description>
					<![CDATA[
						<table width="90%" cellpadding="2" border="0" cellspacing="1" style="border:0px solid #a1a1a1" >
							<tr>
								<td bgcolor="#088ACB"><font color="#FFF">
									&nbsp;{L_SEARCH_FORUM_HEADER}&nbsp;{searchresults.FORUM_TITLE}</font>
								</td>
								<td bgcolor="#088ACB"><center>
									<font color="#FFF">{L_REPLIES}</font></center>
								</td>
								<td bgcolor="#088ACB"><center><font color="#FFF">
									{L_VIEWS}</font></center></td><td bgcolor="#088ACB"><font color="#FFF">&nbsp;{L_LAST_POST}</font>
								</td>
							</tr>
							<tr>
								<td width="60%" bgcolor="#D6EBFF">

									<!-- IF searchresults.S_UNREAD_TOPIC -->
										<a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>
									<!-- ENDIF -->

									<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED -->
										<a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a>
									<!-- ENDIF -->

									<!-- IF searchresults.S_TOPIC_REPORTED -->
										<a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a>
									<!-- ENDIF -->

									&nbsp;{L_FIRST_POST} {searchresults.FIRST_POST_TIME}
									<!-- IF not searchresults.S_TOPIC_GLOBAL -->
										&nbsp;&nbsp;<a href="{searchresults.U_VIEW_FORUM}">{L_VIEW_FORUM}</a>
										<!-- IF searchresults.PAGINATION -->
											&nbsp;<strong class="pagination"><span>{searchresults.PAGINATION}</span></strong>
										<!-- ENDIF -->
									<!-- ELSE -->
										({L_GLOBAL})
									<!-- ENDIF -->
								</td>
								<td width="5%" bgcolor="#D6EBFF">
									<center>{searchresults.TOPIC_REPLIES}</center>
								</td>
								<td width="5%" bgcolor="#D6EBFF">
									<center>{searchresults.TOPIC_VIEWS}</center>
								</td>
								<td width="30%" bgcolor="#D6EBFF">
									&nbsp;{L_POST_BY_AUTHOR}&nbsp;{searchresults.LAST_POST_AUTHOR}&nbsp;<a href="{searchresults.U_LAST_POST}">{L_POSTED_ON_DATE} {searchresults.LAST_POST_TIME}</a>
								</td>
							</tr>
						</table>
					]]>
				</description>
			</item>
		<!-- END searchresults -->
	<!-- comment: end RSS XML for topics -->
	<!-- ELSE -->
	<!-- comment: RSS XML for search Posts starts -->

	<!-- BEGIN searchresults -->
			<item>
				<!-- IF KEYWORD_SEARCH -->
					<title>{L_SEARCH_FOUND} {L_QUOTE_OPEN}{KEYWORDS}{L_QUOTE_CLOSE} {L_FOUND_IN_POST} {searchresults.POST_SUBJECT}</title>
				<!-- ELSEIF not KEYWORDS -->
					<title>{SEARCH_MATCHES} {L_FOR} {searchresults.POST_AUTHOR}</title>
				<!-- ELSE SEARCH_IN_AUTHOR -->
					<title>{SEARCH_MATCHES} {L_FOR} {L_QUOTE_OPEN}{KEYWORDS_PLUS}{L_QUOTE_CLOSE} {FOUND_SEARCH_POSTS} {searchresults.POST_AUTHOR}</title>
				<!-- ENDIF -->
				<link>{searchresults.U_VIEW_POST}</link>
				<guid>{searchresults.U_VIEW_POST}</guid>
				<pubDate>{searchresults.PUB_DATE}</pubDate>
				<dc:creator>{searchresults.POST_AUTHOR}</dc:creator>
				<description>
					<![CDATA[
						<table width="90%" cellpadding="5" border="0" cellspacing="1" style="border:0px solid #a1a1a1" >
							<tr>
								<td bgcolor="#088ACB">
									<font color="#FFFFFF"><big><strong>{searchresults.POST_SUBJECT}</strong></big></font>
								</td>
								<td bgcolor="#088ACB">
									<font color="#FFFFFF"><big><strong>{RSS_POST_INFO}</strong></big></font>
								</td>
							</tr>
							<tr>
								<td width="70%" align="left" bgcolor="#e1ebf2">
									{searchresults.MESSAGE}
								</td>
								<td width="30%" align="left" bgcolor="#e1ebf2">
									<em>{L_POST_BY_AUTHOR}:&nbsp;</em><strong>{searchresults.POST_AUTHOR}</strong><br /><em>{L_POSTED_ON_DATE}:&nbsp;</em> {searchresults.POST_DATE}<br /><br />

									<!-- IF searchresults.FORUM_TITLE -->
										{L_FORUM}: <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><br />
										{L_TOPIC}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a><br />
									<!-- ELSE -->
										{L_GLOBAL}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a><br />
									<!-- ENDIF -->
									{L_REPLIES}: <strong>{searchresults.TOPIC_REPLIES}</strong><br />{L_VIEWS}: <strong>{searchresults.TOPIC_VIEWS}</strong><br />
									<!-- IF not searchresults.S_IGNORE_POST -->
										<a href="{searchresults.U_VIEW_POST}" class="{S_CONTENT_FLOW_END}">{L_JUMP_TO_POST}</a>
									<!-- ENDIF -->
								</td>
							</tr>
						</table>
					]]>
				</description>
			</item>
	<!-- ENDIF -->
	<!-- END searchresults -->
	<!-- comment: end RSS XML for search Posts -->

<!-- ELSE -->
<!-- comment: Regular (non-search) Feeds -->
	<!-- BEGIN feed -->
		<item>
			<title>{feed.TITLE}</title>
			<link>{feed.LINK}</link>
			<dc:creator>{feed.DC_CREATOR}</dc:creator>
			<pubDate>{feed.PUB_DATE}</pubDate>
			<guid>{feed.REG_GUID}</guid>
			<description>
				<![CDATA[
					<table cellpadding="0" cellspacing="1" style="border:0px" width="100%" align="center">
						<div>
							<tr>
								<td>
									{feed.DESCRIPTION}
								</td>
							</tr>
						</div>
					</table>
					<hr />
				]]>
			</description>
		</item>
	<!-- END feed -->
<!-- comment: end Regular (non-search) Feeds -->
<!-- ENDIF -->

	</channel>
</rss>
